/**
 * Created with IntelliJ IDEA.
 * Description:
 * https://gitee.com/li--jiaqiang/java-test.git
 * git pull
 * git pull origin master
 * git pull origin master --allow-unrelated-histories
 * User: 86187
 * Date: 2022-05-07
 * Time: 20:54
 */

//Scanner scan = new Scanner(System.in);


import java.util.Arrays;

public class TestDemo3 {

    public static void main(String[] args) {
        int[] array = {5,2,0,1,3,1,4};
        System.out.println(Arrays.toString(array));
        System.out.println("========================");
        int[] arr = Arrays.copyOf(array,array.length);
        System.out.println(Arrays.toString(arr));
    }
}
